package pickaging;

public class HouseInfo {
    private int id;
    private String mode;
    private double rent;
    private String cont;
    private String method;
    private int house;
    private String addr;

    public HouseInfo() {
    }

    public HouseInfo(int id, String mode, double rent, String cont, String method, int house, String addr) {
        this.id = id;
        this.mode = mode;
        this.rent = rent;
        this.cont = cont;
        this.method = method;
        this.house = house;
        this.addr = addr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public double getRent() {
        return rent;
    }

    public void setRent(double rent) {
        this.rent = rent;
    }

    public String getCont() {
        return cont;
    }

    public void setCont(String cont) {
        this.cont = cont;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getHouse() {
        return house;
    }

    public void setHouse(int house) {
        this.house = house;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "HouseInfo{" +
                "id=" + id +
                ", mode='" + mode + '\'' +
                ", rent=" + rent +
                ", cont='" + cont + '\'' +
                ", method='" + method + '\'' +
                ", house=" + house +
                ", addr='" + addr + '\'' +
                '}';
    }
}
